Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create CommentPlus.js #1200

Closed
wants to merge 17 commits into from
Closed

Create CommentPlus.js #1200

wants to merge 17 commits into from

Conversation

MYTAditya
Copy link

@MYTAditya MYTAditya commented Dec 14, 2023

Well I've created a extension called Comment Plus. Actually it's a developed version of Comment Blocks which was made by LilyMakesThings.

@CST1229
Copy link
Collaborator

CST1229 commented Dec 14, 2023

Why not just add the blocks to the existing Comment Blocks extension?

@wolfieboy09
Copy link

image

Thats not supposed to happen

@MYTAditya
Copy link
Author

Why not just add the blocks to the existing Comment Blocks extension?

Yeah I could but I just created my own.

Copy link
Contributor

@LilyMakesThings LilyMakesThings left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This extension is relatively pointless; I don't see the point in over half of these blocks when the couplers extension exists and does a similar job.

Furthermore, as per the contributing guidelines, you shouldn't submit extensions that are similar to existing ones, and this is an adaptation of an extension on the gallery.

Consider adding the blocks you think are essential to the existing extension as others have suggested.

extensions/MYTAditya/CommentPlus.js Outdated Show resolved Hide resolved
extensions/MYTAditya/CommentPlus.js Show resolved Hide resolved
extensions/MYTAditya/CommentPlus.js Outdated Show resolved Hide resolved
extensions/MYTAditya/CommentPlus.js Outdated Show resolved Hide resolved
extensions/MYTAditya/CommentPlus.js Outdated Show resolved Hide resolved
extensions/MYTAditya/CommentPlus.js Outdated Show resolved Hide resolved
extensions/MYTAditya/CommentPlus.js Outdated Show resolved Hide resolved
extensions/MYTAditya/CommentPlus.js Outdated Show resolved Hide resolved
@MYTAditya
Copy link
Author

This extension is relatively pointless; I don't see the point in over half of these blocks when the couplers extension exists and does a similar job.

Furthermore, as per the contributing guidelines, you shouldn't submit extensions that are similar to existing ones, and this is an adaptation of an extension on the gallery.

Consider adding the blocks you think are essential to the existing extension as others have suggested.

All problems has been fixed.
And I know that there's Couplers Extension do that, also there's already Comment Blocks made by you and people can just build mine blocks using those Extensions. But I just created it for those peoples whom don't want to add Couplers only for Comment Blocks. Maybe Couplers is a great extension almost every people uses it (me too).
And lastly, if you want then I would remove everything I've made.

@MYTAditya
Copy link
Author

image

Thats not supposed to happen

Fixed

Copy link
Contributor

@LilyMakesThings LilyMakesThings left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This extension is really hard to review comprehensively.

extensions/MYTAditya/CommentPlus.js Show resolved Hide resolved
},
},
{
opcode: "commentCPlusPlus",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you specify what the point of a double-branch comment block is? As stated previously, the second branch doesn't even run because of how you return the function.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that block is just pointless, but I created that for the blocks put in first branch would work (like previous ones) and next branch wouldn't work. If you can, please write and comment me the code where both branches would work in the same block.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not going to write this extension for you as a block like that shouldn't exist to begin with

extensions/MYTAditya/CommentPlus.js Show resolved Hide resolved
// no-op
}

commentReporterPlus(args) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This still doesn't return anything; reporters cannot return nothing.

images/MYTAditya/CommentPlus.svg Outdated Show resolved Hide resolved
extensions/MYTAditya/CommentPlus.js Show resolved Hide resolved
extensions/MYTAditya/CommentPlus.js Outdated Show resolved Hide resolved
return args.COLOR;
}

commentBooleanP7(args) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand where or why you'd need a color input inside of a boolean.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah you're right because reporters could do that. You can say, I just created it for Boolean shaped block. If you say, I would remove Booleans which had colors strings.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In an ideal world you'd just remove all of the color blocks

// no-op
}

commentCap() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove your unused functions

// no-op
}

commentReporterPlus(args) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't mark issues as resolved unless they are actually resolved. This still does not return anything. That is a bug. Please fix it

return args.INPUT;
}

commentBooleanPlus(args) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't mark issues as resolved unless they are actually resolved. This still does not return anything. That is a bug. Please fix it

return args.COLOR;
}

commentBooleanP7(args) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In an ideal world you'd just remove all of the color blocks

@GarboMuffin
Copy link
Member

Please do not mark conversations as resolved if they are not resolved.

@GarboMuffin
Copy link
Member

GarboMuffin commented Dec 21, 2023

sorry to have to say no, but I don't see much in here that is really an upgrade beyond the existing comment extension, and we definitely don't need two competing comment extensions. if there's something innovative here I'm missing, please submit a pull request to add it to the existing extension

extension review is currently months behind -- very sorry for the delay getting to that decision

@MYTAditya MYTAditya deleted the patch-1 branch December 21, 2023 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants